package com.ktdaddy.request;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;

/**
 * @author kdaddy@163.com
 * @date 2021/8/16 22:37
 */
public class PwdChangeReq {
    @Min(1)
    private Integer userId;
    @NotEmpty
    private String passwordOld;
    @NotEmpty
    private String passwordNew;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getPasswordOld() {
        return passwordOld;
    }

    public void setPasswordOld(String passwordOld) {
        this.passwordOld = passwordOld;
    }

    public String getPasswordNew() {
        return passwordNew;
    }

    public void setPasswordNew(String passwordNew) {
        this.passwordNew = passwordNew;
    }
}
